package com.nineclock.sign.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nineclock.sign.pojo.SignInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface SignInfoMapper extends BaseMapper<SignInfo> {
    // 查询当日签到记录
    @Select("select count(*) from sign_info where create_date = #{dateStr}")
    Integer TodaySignCount(@Param("dateStr") String dateStr);
}
